package com.lancoo.ccas53.service;


import com.lancoo.ccas53.entity.RuleTimeProhibit;
import com.lancoo.ccas53.entity.RuleUsable;
import com.lancoo.ccas53.entity.RuleWeekDay;

import java.util.List;

public interface BasicRuleService {


    List<RuleUsable> getCurrent(Integer taskId, String schoolId, String termId, String collegeId);


    /**
     * 获取院系上课场地范围
     *
     * @param taskId
     * @param keyword
     * @return
     */
    List<Long> getCollegeRoom(Integer taskId, String collegeId, String keyword);

    /**
     * 根据学校id 学期id获取课时方案设置
     *
     * @return
     */
    List<RuleWeekDay> getWeekDays(Integer taskId);

    List<RuleTimeProhibit> getTimeProhibit(Integer taskId, String collegeId);

    int getMaxPeriod(Integer taskId);

}
